package teach.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import teach.aistar.mapper.CommitMapper;
import teach.aistar.model.entity.Commit;
import teach.aistar.service.ICommitService;

@Service
@Transactional
public class CommitServiceImpl implements ICommitService {
    @Autowired
    private CommitMapper commitMapper;


    @Override
    public int insert(Commit commit) {
        int x  = commitMapper.insert(commit);
        return x;
    }
}
